package com.example.springaop.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("article")
public class ArticleController {

    @RequestMapping("sayhi")
    public String sayHi(){
        System.out.println("执行了 sayHi 方法");
        return "article:hi springboot AOP";
    }
}
